package com.wjjun.base.dagger.component;

import com.wjjun.base.ui.base.BaseFragment;

import dagger.Subcomponent;
import dagger.android.AndroidInjector;
import dagger.android.support.AndroidSupportInjectionModule;

/**
 * BaseActivityComponent
 * Created by 67535 on 2018/5/25.
 */
@Subcomponent(modules = {
        AndroidSupportInjectionModule.class,
})
public interface BaseFragmentComponent extends AndroidInjector<BaseFragment> {

    //每一个继承BaseFragment的Fragment，都共享同一个SubComponent
    @Subcomponent.Builder
    abstract class Builder extends AndroidInjector.Builder<BaseFragment> {
    }

}